import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/blade-system/message/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

export const getCount = (params) => {
  return request({
    url: '/api/blade-system/message/getCount',
    method: 'get',
    params: {
      userId:params
    }
  })
}

export const reviewed = (params) => {
  return request({
    url: '/api/blade-system/message/reviewed',
    method: 'post',
    params: {
      json:params
    }
  })
}